package com.rayboo.example.design.pattern.chain;

public class Boss extends Leader{

    public Boss(Leader nextHandler) {
        super(nextHandler);
    }

    @Override
    public int getLimit() {
        return 100000;
    }

    @Override
    public boolean handleRequest(int money) {
        System.out.println("老板批复报销" + money + "元");
        return true;
    }
}
